package com.atguigu.adapter.objectdapter;

/**
 * 被适配的类
 * @author gcq
 * @Create 2020-10-04
 */
public class Voltage220V {

    // 输出220v电压 不变
    public int output220V() {
        int src = 220;
        System.out.println("电压=" + src  + "伏");
        return src;
    }

}